Skip to content

feat(inbox): status, since and multi-account filters plus bulk resolve - #41

Merged
alihesari merged 2 commits into
mainfrom
feature/inbox-filters
Nov 3, 2026
Merged

alihesari merged 2 commits into
mainfrom
feature/inbox-filters

Conversation

@alihesari

Copy link
Copy Markdown
Member

Pairs with fopost/fopost branch feature/inbox-simplify and merges after it.

What changed

  • InboxListParams and InboxThreadParams (used by inbox().list, threads and conversations): state, platform and q are removed, and sort takes newest or oldest only. New status (unanswered, replied, resolved) and since (an Instant). accountId now takes one or more ids, and accountIds(List) does the same; they go out comma-separated in account_id.
  • inbox().resolve(InboxResolveParams) calls POST /v1/inbox/resolve: every unanswered item of one type in a workspace, optionally only on some accounts or only items dated before an instant. Returns the resolved count. Needs the inbox scope.
  • README inbox section and the Unreleased CHANGELOG entry updated.

Tested

  • mvn -B verify on Java 21: 193 tests, 0 failures. New cases cover the list query encoding (multi-account, status, since), the thread filters and the resolve body.

Owed

  • No version bump; the release is batched separately.
  • fopost-spring does not reference the inbox params, so it needs no matching PR.

@alihesari
alihesari merged commit 825af61 into main Nov 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant